popover: Add helper functions around setting up an scrollable
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 28 Sep 2016 17:53:10 +0000 (19:53 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 29 Sep 2016 10:46:34 +0000 (12:46 +0200)
commit588a1dce2b1fb97acb8304799a7711fa62d0a2aa
tree8d3480563c81bcd7881719f7052f139a13fb7741
parent73d09c8f7449e505bcfc5a6394702183319a2637
popover: Add helper functions around setting up an scrollable

gtk_popover_set_scrollable_full() takes care of the signal connected
on the scrollable itself, in addition to the adjustment signals the
popover listens to.

gtk_popover_update_scrollable() looks up the current relative-to
widget hierarchy and updates the current scrollable.

The places where the scrollable is being maintained have been updated
to use these functions.

https://bugzilla.gnome.org/show_bug.cgi?id=771812
gtk/gtkpopover.c